import request from '@/utils/request'

export function uploadPaper(data) {
  return request({
    url: '/paper/upload',
    method: 'post',
    data
  })
}

export function getPaper(data) {
  return request({
    url: '/paper/getpaper',
    method: 'post',
    data
  })
}

export function getQuestion(data) {
  return request({
    url: '/paper/getquestion',
    method: 'post',
    data
  })
}

export function deletePaper(data) {
  return request({
    url: '/paper/deletepaper',
    method: 'post',
    data
  })
}

export function updataQuestion(data) {
  return request({
    url: '/paper/updataquestion',
    method: 'post',
    data
  })
}
